Update extcommunity-list.
This example configures an extcommunity-list on the specified devices.
efa policy extcommunity-list update --name excommlist-1 --type standard --operation add-device --ip 10.20.246.29,10.20.246.30
+------------------------------+---------+--------+-------+--------------+-----------+ | Extended community list name | Seq num | Action | Rt | Soo | Ext Value | +------------------------------+---------+--------+-------+--------------+-----------+ | excommlist-1 | 4 | permit | | 10.11.2.3:22 | | +------------------------------+---------+--------+-------+--------------+-----------+ | excommlist-1 | 5 | deny | 1:345 | | | +------------------------------+---------+--------+-------+--------------+-----------+ | excommlist-1 | 6 | permit | 1:45 | 10.11.2.3:22 | | +------------------------------+---------+--------+-------+--------------+-----------+ Extended community list details +--------------+---------+--------+-----------------+ | IP Address | Result | Reason | Rollback reason | +--------------+---------+--------+-----------------+ | 10.20.246.29 | Rollback| | | +--------------+---------+--------+-----------------+ | 10.20.246.30 | Rollback| | | +--------------+---------+--------+-----------------+ Device Results
This example removes the extcommunity-list from the specified devices.
efa policy extcommunity-list update --name excommlist-2 --type extended --operation remove-device --ip 10.20.246.29,10.20.246.30
+------------------------------+---------+--------+----+-----+-----------+ | Extended community list name | Seq num | Action | Rt | Soo | Ext Value | +------------------------------+---------+--------+----+-----+-----------+ | excommlist-2 | 2 | permit | | | _15000_ | +------------------------------+---------+--------+----+-----+-----------+ excommlist-2 | 5 | deny | | | _25000_ | +------------------------------+---------+--------+----+-----+-----------+ Extended community list details +--------------+---------+--------+-----------------+ | IP Address | Result | Reason | Rollback reason | +--------------+---------+--------+-----------------+ | 10.20.246.29 | Rollback| | | +--------------+---------+--------+-----------------+ | 10.20.246.30 | Rollback| | | +--------------+---------+--------+-----------------+ Device Results
This example update rules on an extcommunity-list.
efa policy extcommunity-list update –-name excommlist-2 –-type extended –-operation update-rule –-rule "seq[5],action[deny],ext-value[_25000_]"+------------------------------+---------+--------+----+-----+-----------+ | Extended community list name | Seq num | Action | Rt | Soo | Ext Value | +------------------------------+---------+--------+----+-----+-----------+ | excommlist-2 | 5 | deny | | | _25000_ | +------------------------------+---------+--------+----+-----+-----------+ Extended community list details +--------------+---------+--------+-----------------+ | IP Address | Result | Reason | Rollback reason | +--------------+---------+--------+-----------------+ | 10.20.246.29 | Success | | | +--------------+---------+--------+-----------------+ | 10.20.246.30 | Success | | | +--------------+---------+--------+-----------------+ Device Results